from __future__ import unicode_literals

from django.db import models

# Create your models here.

# Create your models here.
class IXIA(models.Model):
    Chassis_IP = models.CharField(max_length = 20)
    Chassis_Name = models.CharField(max_length = 20)
    Type = models.CharField(max_length = 20)
    Location = models.CharField(max_length = 10)
    SN = models.CharField(max_length = 50)
    Version = models.CharField(max_length = 50)
    Comment = models.CharField(max_length = 200,null = True,blank = True)
    Connection = models.CharField(max_length = 10000, null = True, blank = True)

    class Meta:
        verbose_name = "IXIA Chassis"
        verbose_name_plural = "IXIA Chassis"
    def __str__(self):
        return self.Chassis_IP

class Spirent(models.Model):
    Chassis_IP = models.CharField(max_length = 20)
    Chassis_Name = models.CharField(max_length = 20)
    Type = models.CharField(max_length = 20)
    Location = models.CharField(max_length = 10)
    SN = models.CharField(max_length = 50)
    Version = models.CharField(max_length = 50)
    Comment = models.CharField(max_length = 200,null = True,blank = True)
    Connection = models.CharField(max_length = 10000, null = True, blank = True)

    class Meta:
        verbose_name = "Spirent Chassis"
        verbose_name_plural = "Spirent Chassis"
    def __str__(self):
        return self.Chassis_IP
